﻿using CommonEntity.CommonImageEntities;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using itk.simple;

namespace ImageDomain.DE;
public class MaskImage3d : Image3d, IMaskImage3d
{
    public Color MaskColor { get; internal set; }
    public void SetMaskColor(Color maskColor)
    {
        MaskColor = maskColor;
    }

    public MaskImage3d(Image itkImage)
    {
        ItkImage = itkImage;
        Initial();
    }

    public new void Initial()
    {
        base.Initial();
        WinAdjust = new WindowAdjust()
        {
            OutputMax = 255,
            OutputMin = 0,
            WindowMin = 0,
            WindowMax = 100
        };
    }
}
